﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="Officer2010.Content.Views.SidePanels.AdvancedOptions"
	d:DesignWidth="440" d:DesignHeight="580">

	<Grid x:Name="LayoutRoot">
		<Path Fill="#FFFFFFFF" Stretch="Fill" Stroke="#FFC3C3C3" Height="1" Margin="6,30.664,6,0" 
			VerticalAlignment="Top" UseLayoutRounding="False" Data="M0,30 L587,30" StrokeDashOffset="39" 
			StrokeDashArray="2 2" Grid.ColumnSpan="1" HorizontalAlignment="Left" Width="Auto"/>
		<TextBlock Height="Auto" Margin="7,9,0,0" VerticalAlignment="Top" Text="Advanced Options" 
			TextWrapping="NoWrap" FontFamily="Arial" FontSize="14" HorizontalAlignment="Left"           
                   FontWeight="Bold" d:LayoutOverrides="HorizontalAlignment"/>
        
		<StackPanel Height="Auto" Margin="12,40,12,2" VerticalAlignment="Stretch" MinWidth="0" 
                    DataContext="{Binding AdvancedSettings, Mode=OneWay}">
            
			<CheckBox Height="Auto" Margin="0,0,177,6" Content="Typing replaces standard text" FontFamily="Arial" 
                      FontSize="12" d:LayoutOverrides="Width" IsChecked="{Binding ReplaceText, Mode=TwoWay}"/>
			<CheckBox Height="Auto" HorizontalAlignment="Left" Content="When selecting, automatically select entire word" 
                      FontFamily="Arial" FontSize="12" Margin="0,0,0,6" IsChecked="{Binding SelectWord, Mode=TwoWay}"/>
			<CheckBox Height="Auto" Margin="0,0,177,6" Content="Allow text to be dragged and dropped" FontFamily="Arial" 
                      FontSize="12" d:LayoutOverrides="Width" IsChecked="{Binding TextDandD, Mode=TwoWay}"/>
			<CheckBox Height="Auto" HorizontalAlignment="Left" Content="Use CTRL + Click to follow hyperlink" FontFamily="Arial" 
                      FontSize="12" Margin="0,0,0,6" IsChecked="{Binding CtrlClick, Mode=TwoWay}"/>
			<CheckBox Height="Auto" Margin="0,0,0,6" Content="Automatically create drawing canvas when inserting Autoshapes" 
                      FontFamily="Arial" FontSize="12" HorizontalAlignment="Left" IsChecked="{Binding Autoshapes, Mode=TwoWay}"/>
			<CheckBox Height="Auto" HorizontalAlignment="Left" Content="Use smart paragraph selection" FontFamily="Arial" 
                      FontSize="12" Margin="0,0,0,6" IsChecked="{Binding SmartPara, Mode=TwoWay}"/>
			<CheckBox Height="Auto" Margin="0,0,158,6" Content="Use smart cursoring" FontFamily="Arial" FontSize="12" 
                      d:LayoutOverrides="Width" IsChecked="{Binding SmartCursor, Mode=TwoWay}"/>
			<CheckBox Height="Auto" HorizontalAlignment="Left" Content="Use overtype mode" FontFamily="Arial" FontSize="12" 
                      Margin="0,0,0,6" IsChecked="{Binding Overtype, Mode=TwoWay}"/>
            
			<Grid Height="26" Margin="0,0,0,6" HorizontalAlignment="Left">
				<ComboBox Margin="104,0,0,0" IsDropDownOpen="False" SelectedIndex="{Binding FieldShading, Mode=TwoWay}" 
                          FontFamily="Arial" Width="120">
					<ComboBoxItem Content="Never"/>
					<ComboBoxItem Content="Always"/>
					<ComboBoxItem Content="When Selected"/>
				</ComboBox>
				<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="0,7,0,5" Width="Auto" FontFamily="Arial" FontSize="12"
                           Text="Field Shading:" TextWrapping="NoWrap" d:LayoutOverrides="Height"/>
			</Grid>
			<Grid Height="26" Margin="0,0,0,6" Width="364" HorizontalAlignment="Left">
				<TextBlock Height="Auto" HorizontalAlignment="Left" Margin="0,8,0,4" Width="Auto" FontFamily="Arial" FontSize="12" 
                           Text="Pasting:" TextWrapping="NoWrap" d:LayoutOverrides="Height"/>
				<ComboBox Margin="104,0,0,0" IsDropDownOpen="False" FontFamily="Arial" HorizontalAlignment="Left" 
                          Width="210" SelectedIndex="{Binding Pasting, Mode=TwoWay}">
					<ComboBoxItem Content="Keep Source Formatting (Default)"/>
					<ComboBoxItem Content="Match Destination Formatting"/>
					<ComboBoxItem Content="Keep Text Only"/>
				</ComboBox>
			</Grid>
            
		</StackPanel>
        
	</Grid>
    
</UserControl>